<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="px" uri="/WEB-INF/tld/pex.tld"%>
<%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld"%>
<%@ taglib prefix="fn" uri="/WEB-INF/tld/fn.tld"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>温江人大代表之家</title>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=path%>/js/main.js"></script>
<script type="text/javascript" src="<%=path%>/js/pex.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery1.4.2.js"></script>
 </head>
<body>
<div id="header">
 <iframe src="<%=path%>/query/header.do" width="100%" height="337" frameborder="0" scrolling="no" name="header"></iframe>
</div>
<div id="content">
  <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px">
    <tr>
      <td width="970" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="sailBox_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="sailBox_title_txt">友情链接</td>
              <td class="sailBox_title_more">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td valign="top" class="sailBox_cont" style="padding:5px"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="10">
          <tr>
           <c:forEach items="${links}" var="links" varStatus="r">  
                <c:if test="${r.index!=0&&r.index%5==0}"> 
               </tr><tr> 
                </c:if>   
                <td align="center"><a href="${links.url}" title='${links.title}' target='_blank'><img src="${links.yl2}" width='100' height='35' /></a></td>
            </c:forEach> 
              </tr>
          </table>
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="15">
              <tr>
                <td align="center"><img src="<%=path %>/images/btn_back.gif" width="60" height="22" onclick="javascript:history.back();" /></td>
                </tr>
            </table></td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
<div style="text-align:center">
<iframe src="<%=path%>/query/footer.do" width="970px" height="100" frameborder="0" scrolling="no" name="footer"></iframe>
</div>
</body>
</html>
